﻿//建立一個Ball
package{
	import flash.display.Shape;
	
	public class Ball extends Shape
	{
		
		public function Ball(_x:int,_y:int,color:uint,_r:int):void
		{
			this.graphics.beginFill(color);
			this.graphics.drawCircle(_x,_y,_r);
			this.graphics.endFill();
		}
	}
}